//
//  RSChatMessage.h
//  ReplayStar
//
//  Created by Félix Cloutier on 11-11-02.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RSPlayerData.h"

typedef enum RPReplayMessageTarget
{
	RPReplayMessageTargetAll,
	RPReplayMessageTargetAllies
} RPReplayMessageTarget;

@interface RSChatMessage : NSObject
{
	RSPlayerData* player;
	NSString* body;
	NSTimeInterval time;
}

@property (readonly) RSPlayerData* player;
@property (readonly) RPReplayMessageTarget target;
@property (readonly) NSTimeInterval time;
@property (readonly) NSString* body;

-(id)initWithPlayer:(RSPlayerData*)player target:(RPReplayMessageTarget)target time:(NSTimeInterval)time message:(NSString*)message;

-(NSString*)description;

-(void)dealloc;

@end
